-- GENERATED SPELL FOR [Dark Fiend] --


function spell0_25744(pUnit, Event) --@Dark Fiend,Self--
pUnit:FullCastSpellOnTarget(45934,pUnit)
pUnit:RegisterEvent('Sorts_25744', 600, 1)
end

function Sorts_25744(pUnit, Event)
local choix_sorts_25744 = math.random(0, 0)
if choix_sorts_25744 == 0 then
pUnit:RegisterEvent('spell0_25744', 1, 1)
end
end

function mob25744_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25744', math.random(1500, 3000), 1)
end

function mob25744_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25744_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25744_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25744, 1, 'mob25744_Action')
RegisterUnitEvent(25744, 2, 'mob25744_Leave')
RegisterUnitEvent(25744, 3, 'mob25744_Kill')
RegisterUnitEvent(25744, 4, 'mob25744_Die')
